/*
  File: RoleService.cs
  Author: rcrxy
  CreateTime: 2025/07/03 16:11

  Description:
*/


using StudentVideo.Common.Attributes;
using StudentVideo.Common.Models;
using StudentVideo.Data;
using StudentVideo.Data.Entities;
using StudentVideo.Shared.Dtos.Role;

namespace StudentVideo.Services;

public class RoleService(AppDbContext appDbContext) {
   private readonly AppDbContext _context = appDbContext;

   public void Create([FromCurrentUser] CurrentUser currentUser, RoleCreateRequest body) {
      // 查询当前用户信息
      UserEntity user = _context.Users.First(e => e.Id == currentUser.UserId);


   }




}
